package cn.crdeng.dao;

import cn.crdeng.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository  extends JpaRepository<User,Long> {
    /**
     * 登录查询
     * @param username
     * @param password
     * @return
     */
    User findByUsernameAndPassword(String username,String password);
}
